package com.me.blood.frag;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.me.blood.databinding.DlgDelBinding;

public class DelTipDlg extends FullScreenDlg {

    DlgDelBinding binding;

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        binding = DlgDelBinding.inflate(inflater, container, false);
        binding.cancel.setOnClickListener(view -> dismiss());
        binding.ok.setOnClickListener(view -> dismiss(true, null));

        return binding.getRoot();
    }
}
